#include "stdafx.h"

#include "ThreadPoolTest.h"
#include "ThreadSafeMapTest.h"

int _tmain(int argc, _TCHAR* argv[])
{
    try
    {
        ThreadPoolTest();
        ThreadSafeMapTest();
    }
    catch (std::runtime_error& ex)
    {
        std::cout << "Error was detected: " << ex.what() << std::endl;
    }
    catch (std::exception& ex)
    {
        std::cout << "Error was detected: " << ex.what() << std::endl;
    }
    catch (...)
    {
        std::cout << "Unknown error was detected";
    }


    return 0;
}

